package com.chinaums.fsp.sdk.request;

import com.chinaums.fsp.base.pgt.TransType;
import com.chinaums.fsp.sdk.base.RequestData;
import com.chinaums.fsp.sdk.base.ResponseDataWrapper;
import com.chinaums.fsp.sdk.pgt.params.WbbcQueryMantissaRequest;
import com.chinaums.fsp.sdk.pgt.params.WbbcQueryMantissaResponse;

public class WalletBindBankCardQueryMantissaTest extends BaseRequest{
	public void test() throws Exception {
		
		PgtRequestFactory rf = FACTORY.factory();
		
		RequestData.Builder builder = this.createRequestDataBuilder();
		builder.setTransType(TransType.WBBC_BY_MANTISSA.getTransCode());
		
		WbbcQueryMantissaRequest data = WbbcQueryMantissaRequest.newBuilder()
																			.setWalletNo("801000000000078")//钱包号
																			.setMantissa("12680")//银行卡号
																			.build();
		rf.transType(TransType.WBBC_BY_MANTISSA.getTransCode())
		.responseClass(WbbcQueryMantissaResponse.class)
		.data(data)
		;
		
		ResponseDataWrapper rdw = rf.post();
	
		this.print(rdw);
	}
}
